/* components/line/line.wxss */

:host {
    width: 100%;
    display: block;
    padding: 20rpx 0;
}
.img-list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    .add-item{
        width: 200rpx;
        height: 200rpx;
        position: relative;
        border: 1px dashed #ccc;
        padding: 20rpx;
        margin-top: -1rpx;
    }
}
.img-item {
    width: 200rpx;
    height: 200rpx;
    position: relative;
    border: 1px dashed #ccc;
    padding: 20rpx;
    margin-top: -1rpx;
    .img {
        width: 100%;
        height: 100%;
    }
    
    & + & {
        margin-left: 0rpx;
    }
}
.add-icon {
    color: #ccc;
    font-size: 80rpx;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.remove-icon {
    transform: translate(50%, -50%) scale(0.6);
    color: #fff;
    position: absolute;
    top: 0;
    right: 0;
    width: 60rpx;
    height: 60rpx;
    line-height: 60rpx;
    text-align: center;
    z-index: 2;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    font-size: 40rpx;
}